#pragma once
#include "Globals.h"

//Removed from Graphcis to simplify communication between player and the camera
class CameraObject
{
public:
	D3DXVECTOR3 EyePos;
	D3DXVECTOR3 LookAt;
	D3DXVECTOR3 UpVec;

	sRotation	Rotation;
	D3DXMATRIX	matRotate;


	CameraObject()
		: EyePos(0,0,0)
		, LookAt(0,0,0)
		, UpVec(0,1,0)
		, Rotation(0,0,0)
	{D3DXMatrixIdentity(&matRotate);}

	bool Init(D3DXVECTOR3 EyePos,D3DXVECTOR3 LookAt);
	bool empty();
	bool SetLookAt(D3DXVECTOR3 LookAt);
};